package com.hfuuTaf.service.implement;

import com.hfuuTaf.mapper.welfareMapper;
import com.hfuuTaf.pojo.welfare;
import com.hfuuTaf.service.welfareService;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * 俱乐部的福利
 */
@Service
public class welfareServiceImpl implements welfareService {
    private final welfareMapper welfareMapper;

    public welfareServiceImpl(welfareMapper welfareMapper) {
        this.welfareMapper = welfareMapper;
    }

    @Override
    public List<welfare> queryAll() {
        return welfareMapper.queryAll();
    }
}
